package com.jshoperxms;

import com.jshoperxms.websocket.YdAncientMatchWebSocket;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * Created by sdywcd on 2018/12/11.
 * Des:
 */
@Configuration
public class WebSocketConfig {

    @Bean
    public YdAncientMatchWebSocket echoEndpoint() {
        return new YdAncientMatchWebSocket();
    }

}
